// WITH_STDLIB
val foo = Short.MAX_VALUE.toShort<caret>()